package practice1;

public class App {

    public static void main(String[] args) {
        // 创建 StudentA 类对象
        StudentA s1 = new StudentA();
        StudentA s2 = new StudentA();
        StudentA s3 = new StudentA();

        // 设置对象 s1, s2, s3 的值
        s1.setStudent("Alice", 20, 85.5f, 90.0f, 88.5f);
        s2.setStudent("Bob", 22, 78.0f, 82.5f, 80.0f);
        s3.setStudent("Charlie", 21, 92.0f, 87.0f, 85.5f);


        // 输出各个对象的信息
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
    }

}
